package com.xteam.youin_supplier.model;

/**
 * Created by Curry on 2015-12-27.
 */
public class SalesManger {

    /**
     * flag : true
     * data : {"amount":"1200.0L","addamount":"2050.00L","realamount":"64445.00L","sellamount":"850.00L"}
     * msg : 成功
     */
    private boolean flag;
    private DataEntity data;
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public DataEntity getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * amount : 1200.0L
         * addamount : 2050.00L
         * realamount : 64445.00L
         * sellamount : 850.00L
         */
        private String amount;
        private String addamount;
        private String realamount;
        private String sellamount;

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public void setAddamount(String addamount) {
            this.addamount = addamount;
        }

        public void setRealamount(String realamount) {
            this.realamount = realamount;
        }

        public void setSellamount(String sellamount) {
            this.sellamount = sellamount;
        }

        public String getAmount() {
            return amount;
        }

        public String getAddamount() {
            return addamount;
        }

        public String getRealamount() {
            return realamount;
        }

        public String getSellamount() {
            return sellamount;
        }
    }
}
